package com.skyline.spot.model;

import java.util.Date;

import com.skyline.base.type.RatyObjType;
import com.skyline.common.util.CommonUtils;

public class Raty {
	private Long id;
	private Long objId;
	private RatyObjType type;
	private Long userId;
	private Integer ratyStar;
	private Date ratyTime;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getObjId() {
		return objId;
	}
	public void setObjId(Long objId) {
		this.objId = objId;
	}
	
	public RatyObjType getType() {
		return type;
	}
	public void setType(RatyObjType type) {
		this.type = type;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Integer getRatyStar() {
		return ratyStar;
	}
	public void setRatyStar(Integer ratyStar) {
		this.ratyStar = ratyStar;
	}
	public Date getRatyTime() {
		return CommonUtils.cloneDate(ratyTime);
	}
	public void setRatyTime(Date ratyTime) {
		this.ratyTime = CommonUtils.cloneDate(ratyTime);
	}


}
